@import '../sass/01';

#p {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-left: 150px;
    font-size: 16px;
    color: rgb(131, 131, 131);

    span {
        color: rgb(48, 48, 48);
    }
}

//商品详情
#main {

    // position: relative;
    .bigger {
        width: 440px;
        height: 440px;

        position: relative;
    }

    .large {
        position: relative;

    }

    .smaller {
        width: 440px;
        height: 440px;

        position: absolute;
        left: 442px;
        top: 0px;
        overflow: hidden;

        img {
            position: absolute;
        }
    }

    display: flex;
    width: 1280px;
    margin: 0 auto 30px;
    border-radius:10px;
    min-height: 500px;
    background-color: white;
    padding: 40px;
    overflow: hidden;

    section {
        display: flex;
        justify-content: space-between;
        width: 460px;
        margin-top: 10px;

        p {
            border: 1px solid rgb(148, 148, 148);
        }
    }
}

#main>.right {

    width: 670px;
    margin-left: 50px;

    .right-top {
        border-bottom: 1px dashed orange;

        p:first-child {
            color: rgb(173, 173, 173);
        }

        p:last-child {
            color: rgb(224, 104, 104);
            font-size: 16px;
            height: 50px;
            line-height: 50px;
        }

        span {
            color: red;

        }
    }
}

.right-top>span {
    color: red;
    font-size: 30px;

}

.right-mid {
    display: flex;
    font-size: 22px;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px dashed orange;

}

.right-mid>div {
    color: rgb(126, 126, 126);

    span {
        color: rgb(63, 63, 63);
    }
}

.right-mid .yellow {
    font-weight: bold;
    color: rgb(233, 233, 17);
}

.right-bottom>div {
    padding: 20px;

}

.right-bottom div:nth-child(1) {
    button {
        margin-left: 10px;
        width: 100px;
        height: 40px;
        background-color: rgba(0, 191, 255, 0);
        border: none;
        border: 1px solid;
        outline: red;
    }
}

.right-bottom>div:nth-child(2) {
    display: flex;

    &>div {
        display: flex;
        width: fit-content;
    }

    button {
        width: 50px;
        height: 30px;
        background-color: rgba(0, 191, 255, 0);
        border: none;
        border: 1px solid;
        outline: red;
        font-size: 16px;
        font-weight: 700;

    }

    .add-btn {
        width: 30px;
        border-left: none;
        margin-right: 30px;
    }

    .down-btn {
        width: 30px;
        border-right: none;
        margin-left: 30px;
    }
}

.right-bottom>div:nth-child(3) {
    button {
        font-size: 20px;
        width: 200px;
        height: 50px;
        font-weight: 600;
        color: white;
        background-color: red;
        border: none;
        outline: none;
    }

    span {
        display: inline-block;
        width: 80px;
        height: 30px;
        border: 4px solid rgb(150, 150, 150);
        text-align: center;
        line-height: 24px;
        border-radius: 15px;
        color: rgb(150, 150, 150);
        margin-left: 20px;
    }
}

//评论选项卡
#tab {
    width: 1280px;
    margin: 0 auto 30px;
    border-radius: 10px;
    min-height: 500px;
    background-color: white;
    padding: 40px;
    overflow: hidden;

    .three-choice {
        border-bottom: 1px solid rgb(196, 196, 196);
        ;
        display: flex;
        justify-content: center;

        p {

            margin: 0 80px;
            font-size: 24px;
            color: #333;

            width: fit-content;

            height: 52px;
            position: relative;
        }

        .tab-active:after {
            content: '';
            position: absolute;
            width: 40px;
            height: 4px;
            border-radius: 2px;
            border-bottom: 4px solid rgb(235, 51, 66);
            bottom: 0;
            left: 0;
            right: 0;
            margin: 0 auto;
        }
    }
}

#tab .produce {
    padding: 30px 0;
    margin-bottom: 30px;

    span {
        float: left;
        margin-left: 80px;
        color: #666;
        font-size: 14px;
        margin-bottom: 10px;
    }

}

#tab .detail-list {
    p {
        width: fit-content;
        margin: 0 auto;
    }
}

#pro-com>p {
    height: 80px;
    line-height: 80px;
    font-size: 30px;
    text-align: center;

    span {
        color: rgb(194, 194, 18);
    }
}

#tab>section>div {
    display: none;
}

#tab>section .active {
    display: block;
}

.sharder {
    width: 100px;
    height: 100px;
    //display: none;
    position: absolute;
    left: 0;
    top: 0;
    background-color: yellow;
    opacity: .5;

}












.round-loupe {
    border-radius: 75px;
    border: 5px solid #F0F0F0;
}

//侧边栏样式
#aside {
    position: fixed;
    right: 20px;
    top: 300px;
    width: 40px;
    height: fit-content;
    background-color: white;
    z-index: 99999;
    border: 1px solid rgb(151, 151, 151);

    .cart:hover {
        background-color: red;
    }

    .mask {
        position: absolute;
        width: 40px;
        height: 40px;
        background-color: red;
        z-index: 999999;
        left: 0;
        top: 0;
        display: none;
        font-size: 12px;
        color: white;
        text-align: center;
        line-height: 18px;
    }

    div:nth-child(1) {
        position: relative;
        height: 40px;
        background-color: rgb(233, 233, 233);
        width: 100%;
        font-size: 25px;
        text-align: center;
        line-height: 40px;
        color: rgb(134, 134, 134);
        border-bottom: 1px solid white;
    }

    div:nth-child(2) {
        position: relative;
        height: 40px;
        background-color: rgb(238, 238, 238);
        width: 100%;
        font-size: 25px;
        text-align: center;
        line-height: 40px;
        color: aliceblue;

    }

    div:nth-child(4) {
        position: relative;
        height: 40px;
        background-color: rgb(238, 238, 238);
        width: 100%;
        font-size: 20px;
        text-align: center;
        line-height: 40px;
        color: aliceblue;
        border-bottom: 1px solid white;

    }

    div:nth-child(5) {
        position: relative;
        height: 40px;
        background-color: rgb(238, 238, 238);
        width: 100%;
        font-size: 25px;
        text-align: center;
        line-height: 40px;
        color: rgb(134, 134, 134);

    }

    div:nth-child(3) {
        height: fit-content;
        background-color: rgb(255, 255, 255);
        width: 100%;
        font-size: 20px;
        display: flex;
        align-items: center;
        flex-direction: column;

        p {
            width: 10px;
            font-size: 16px;
            text-align: center;
            color: #333333;
            position: relative;
            left: -3px;

            span {
                display: block;
                width: 20px;
                height: 20px;
                border-radius: 50%;
                background-color: rgb(209, 41, 41);
                text-align: center;
                line-height: 20px;
                color: white;
            }
        }


        color: aliceblue;

    }
}